<?php
/**
 * register.phtml
 * Element of BigAaWSystem.
 * Date: 20/03/13
 * Time: 13:00
 * Developed by Marek Kaszewski
 */
if(isset($succeed) && !$succeed) {
?>
<div class="flash flash-failure">
    <img src="/images/icons/delete.png" alt="" width="16" height="16" />
			<span><?php echo $this->translate($statusMessage); ?></span>
    <div class="right"></div>
</div>
<?php
} elseif(isset($succeed) && $succeed) {
?>
    <div class="flash flash-success">
        <img src="images/icons/accept.png" title="" alt="" width="16" height="16" />
        <span><?php echo $this->translate($statusMessage); ?></span>
        <div class="right"></div>
    </div>
<?php
}
?>
<!-- Two Column (Equal) -->
<div class="two-column-equal">
    <div class="column-left-70">

        <!-- Grey Tabbed Block (Full Width) -->
        <div class="block block-grey">

            <!-- Block Header -->
            <div class="head">
                <div class="cap-left"></div>
                <div class="cap-right"></div>
                <div class="content">

                    <!-- Block Title -->
                    <h2>Grey Block Header</h2>
                    <!-- /Block Title -->

                </div>
                <div class="clear-both"></div>
            </div>
            <!-- /Block Header -->

            <!-- Block Content -->
            <div class="block-content">

                <!-- Tab Two -->
                <div id="tab-three-two">

                    <!-- Standard Content -->
                    <div class="standard-content">
                        <p>
                            Lorem ipsum dolor sit amet, consectetur adipisicing elit, <a href="" title="">sed do eiusmod tempor</a> incididunt ut labore et dolore magna aliqua.
                            Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure
                            dolor in reprehenderit in voluptate velit esse <strong>cillum dolore eu fugiat</strong> nulla pariatur. Excepteur sint occaecat cupidatat non
                            proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
                        </p>
                    </div>
                    <!-- /Standard Content -->

                </div>
                <!-- /Tab Two -->

            </div>
            <!-- /Block Content -->

            <!-- Block Footer Cap -->
            <div class="block-footer-cap">
                <div class="cap-left"></div>
                <div class="cap-right"></div>
                <div class="content"></div>
            </div>
            <!-- /Block Footer Cap -->

        </div>
        <!-- /Grey Tabbed Block (Full Width) -->

    </div>
    <div class="column-right-30">

        <!-- Colour Tabbed Block (Full Width) -->
        <div class="block block-colour">

            <!-- Block Header -->
            <div class="head">
                <div class="cap-left"></div>
                <div class="cap-right"></div>
                <div class="content">

                    <!-- Block Title -->
                    <h2><?php echo $this->translate('Forgot password?');?></h2>
                    <!-- /Block Title -->

                </div>
                <div class="clear-both"></div>
            </div>
            <!-- /Block Header -->

            <!-- Block Content -->
            <div class="block-content">

                <!-- Tab One -->
                <div id="tab-four-one">

                    <!-- Standard Form (Small) -->
                    <form action="<?php echo $this->url('passwordreminder');?>" method="post" class="standard-form standard-form-small">
                        <fieldset>
                            <legend><?php echo $this->translate('Password reset');?></legend>

                            <div class="field <?php if(array_key_exists('email', $formMessages) || !empty($message)) {echo 'field-error';} ?>">
                                <label for="field_1"><?php echo $this->translate('Your email address');?></label>
                                <input type="text" name="email" id="field_1" class="textbox" value="<?php echo $this->escapeHTML($formData['email']) ?>"/>
                                <p class="field-help">
                                    <?php if(array_key_exists('email', $formMessages)) {
                                        foreach ($formMessages['email'] as $key => $val) {
                                            echo $key . " ";
                                        }
                                    }elseif (!empty($message)) {
                                        echo $message;
                                    } else { echo $this->translate('Email address you are registered in the system with');}
                                    ?>
                                </p>
                            </div>

                        </fieldset>
                        <!-- Form Controls -->
                        <div class="form-controls">
                            <button type="submit" class="form-button-colour"><?php echo $this->translate('Send request');?></button>
                        </div>
                        <!-- /Form Controls -->

                    </form>
                    <!-- /Standard Form (Small) -->

                </div>
                <!-- /Tab One -->

                <!-- Tab Two -->
                <!--div id="tab-four-two">

                Two

                </div-->
                <!-- /Tab Two -->

            </div>
            <!-- /Block Content -->

            <!-- Block Footer Cap -->
            <div class="block-footer-cap">
                <div class="cap-left"></div>
                <div class="cap-right"></div>
                <div class="content"></div>
            </div>
            <!-- /Block Footer Cap -->

        </div>
        <!-- /Colour Tabbed Block (Full Width) -->

    </div>
    <div class="clear-both"></div>
</div>
<!-- /Two Column (Equal) -->